// import _ from 'lodash';
// import './style.css';

// function component() {
//   var element = document.createElement('div');

//   // Lodash, currently included via a script, is required for this line to work
//   element.innerHTML = _.join(['Hello', 'webpack', 'fuck'], ' ');
//   element.classList.add('hello');

//   return element;
// }

// document.body.appendChild(component());

'use strict';

require('ace-css/css/ace.css');
require('font-awesome/css/font-awesome.css');

// 引入 index.html，這樣才會被複製到 dist 目錄
require('./index.html');

var Elm = require('./Main.elm');
var mountNode = document.getElementById('main');

// 第三個放入 embed 的值是程式初始值，例如 userID 或 token。
var app = Elm.Main.embed(mountNode);